package com.group4.banner.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.group4.banner.entity.Banner;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 首页banner表 Mapper 接口
 * </p>
 *
 * @author cloud
 * @since 2022-03-10
 */
public interface BannerMapper extends BaseMapper<Banner> {
    /**
     * 分页查询
     * @return
     */
    @Select("select * from crm_banner")
    public List<Banner> page();

}
